package cn.tedu._06vehicle.mapper;

import cn.tedu._06vehicle.pojo.dto.VehhicleAddParam;
import cn.tedu._06vehicle.pojo.dto.VehicleListQuery;
import cn.tedu._06vehicle.pojo.entity.Vehicle;
import cn.tedu._06vehicle.pojo.vo.VehicleListVO;

import java.util.List;

public interface VehicleMapper {
     int selectCodeVehicle(String code);
    int insertVehicle(Vehicle vehicle);

    List<VehicleListVO> listVehicle(VehicleListQuery vehicleListQuery, Long userId);

    int deleteVehicle(Long id,Long userId);
}
